<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">

    <form action="${pageContext.request.contextPath}/user/updateUser" method="post">
        <%--隐藏域--%>
        <input type="hidden" name="uid" value="${Guser.uid}">

        <div class="form-group">
            <label for="username">用户名</label>
            <input type="text" name="username" class="form-control" id="username" value="${Guser.username}" required>
        </div>
        <div class="form-group">
            <label for="pwd">密码</label>
            <input type="password" name="pwd" class="form-control" id="pwd" value="${Guser.pwd}" required>
        </div>
        <div class="form-group">
            <label for="email">邮箱</label>
            <input type="text" name="email" class="form-control" id="email" value="${Guser.email}" required>
        </div>
        <div class="form-group">
            <label for="tel">电话号码</label>
            <input type="text" name="tel" class="form-control" id="tel" value="${Guser.tel}" required>
        </div>
        <button type="submit" class="btn btn-default">修改</button>
    </form>
</div>

</body>
</html>
